<template>
  <div class="dashboard">
    <div class="stats-body">
      <div class="stats-card">
        <div class="stats-title">会员总数</div>
        <div class="stats-number">5,257</div>
        <div class="stats-link">
          <div>今日订单数</div>
          <div>1单</div>
        </div>
           </div>
           <div class="stats-box">
            <div class="box">商品管理</div>
            <div class="box">会员管理</div>
           </div>
    </div>

    <div class="stats-body">
      <div class="stats-card">
        <div class="stats-title">订单总数</div>
        <div class="stats-number">698</div>
        <div class="stats-link">
          <div>昨日订单数</div>
          <div>1单</div>
        </div>
              </div>
              <div class="stats-box">
            <div class="box">订单管理</div>
            <div class="box">电子券管理</div>
           </div>
    </div>
    <div class="stats-body">
      <div class="stats-card">
        <div class="stats-title">总金额</div>
        <div class="stats-number">1,537</div>
        <div class="stats-link">
          <div>近七天订单数</div>
          <div>1单</div>
        </div>
      </div>
      <div class="stats-box">
            <div class="box">营销管理</div>
            <div class="box">分销管理</div>
           </div>
    </div>

    <div class="stats-body">
      <div class="stats-card">
        <div class="stats-title">商品总数</div>
        <div class="stats-number">7</div>
        <div class="stats-link">
          <div>本月订单数</div>
          <div>1单</div>
        </div>
      </div>
      <div class="stats-box">
            <div class="box">财务管理</div>
            <div class="box">门店管理</div>
           </div>
    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {}
  },
  methods: {}
}
</script>
<style scoped>
.dashboard {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  padding: 20px;
}
.stats-body {
  width: calc(25% - 20px);
  margin: 10px;
}
.stats-card {
  background-color: #fff;
  box-shadow: #727171 0px 0.1px 1px;
  padding: 15px;

height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.stats-title {
  width: 100%;
  height: 30%;
  align-content: center;
  border-bottom: 0.1px solid #e3e3e3;
  font-size: 18px;
  color: #333;
  padding-bottom: 10px;
}

.stats-number {
  width: 100%;
  height: 40%;
  border-bottom: 0.1px solid #e3e3e3;
  align-content: center;
  font-size: 24px;
  font-weight: bold;
  padding: 10px 0;
  color: #333;
}

.stats-link {
  height: 30%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;

  padding-top: 10px;
  align-content: center;
  cursor: pointer;
}
.stats-box{
  width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
}
.box{
    width: 46%;
    height: 80px;
   
    background-color: #fff;
    box-shadow: #727171 0px 0.1px 1px;
    padding: 15px 0;
   
    display: flex;
    justify-content: center;
    align-items: center;

}
</style>
